From af92970ca9f3a2845a803abc1ebc292a70af6f8e Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 28 Mar 1994 23:03:07 +0000 Subject: [PATCH] (x_find_modifier_meanings): Skip zero entries. --- src/xterm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 2e3e8a4d3e3..474082d7b47 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1564,6 +1564,10 @@ x_find_modifier_meanings () KeyCode code = mods->modifiermap[(row * mods->max_keypermod) + col]; + /* Zeroes are used for filler. Skip them. */ + if (code == 0) + continue; + /* Are any of this keycode's keysyms a meta key? */ { int code_col; -- 2.30.2